package com.winhxd.b2c.common.domain.customer.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel("分销商信息")
public class CustomerDetailVO {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("用户id")
    private Long customerId;

    @ApiModelProperty("用户头像")
    private String headImg;

    @ApiModelProperty("会员昵称")
    private String wechatName;

    @ApiModelProperty("用户名")
    private String customerMobile;

    @ApiModelProperty("姓名")
    private String nickName;

    @ApiModelProperty("姓名")
    private String channelName;

    @ApiModelProperty("会员等级 1:一级分销商 2：二级分销商 0：会员")
    private Integer level;


    @ApiModelProperty("用户状态1激活,0冻结")
    private Integer status;

    @ApiModelProperty("注册时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date created;

    @ApiModelProperty("店铺名称")
    private String storeName;

    @ApiModelProperty("商城简介")
    private String storeExplain;

    @ApiModelProperty("店铺logo")
    private String shopLogo;

    @ApiModelProperty("出生年月")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date birthday;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("总收入:总提现金额")
    private BigDecimal totalIncome;

    @ApiModelProperty("积分")
    private Integer integral;

    @ApiModelProperty("余额:可提现余额")
    private BigDecimal balance;

    @ApiModelProperty("他的订单")
    private Integer order;

    @ApiModelProperty("累计提现收入")
    private BigDecimal cumulatedBalance;

    @ApiModelProperty("待转正收入")
    private BigDecimal positiveBalance;

    @ApiModelProperty("上级id")
    private Long parentId;

    @ApiModelProperty("一级分销商下的二级分销商数量")
    private Integer distributorSecondCount;

    @ApiModelProperty("分销商下面的会员数量")
    private Integer memberCount;

    @ApiModelProperty("上级渠道")
    private Integer parentChannelName;

    @ApiModelProperty("上级分销商等级")
    private Integer parentLevel;

    @ApiModelProperty("上级分销商微信名称")
    private String parentWechatName;



}
